package net.kingborn.erp.wc.dao;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.kingborn.erp.wc.model.Checkout;
import net.kingborn.erp.wc.model.Mttq;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface MqttDao extends BaseMapper<Mttq> {

    Page<Mttq> pageSearch(@Param("page") Page<Checkout> page, @Param("query") JSONObject query);

    Page<Mttq> conditionSearch(@Param("page") Page<Checkout> page, @Param("query") JSONObject query);
}
